package com.bwie.goods.service.impl;

import com.bwie.common.domain.Type;
import com.bwie.goods.mapper.TypeMapper;
import com.bwie.goods.service.TypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TypeServiceImpl implements TypeService {
    @Autowired
    private TypeMapper typeMapper;

    @Override
    public List<Type> typeList() {
        return typeMapper.typeList();
    }
}
